package state;

import logic.GameLogic;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;

import constans.Flag;

public class PlayState extends State{

	//flag = Flag.PlayState;
	GameLogic gameLogic;
	public PlayState()
	{
		gameLogic = new GameLogic();
	}
	
	public void render(GameContainer container, Graphics g) throws SlickException
	{	
		gameLogic.render(container, g); //troche bez sensu, ale niech tak na razie zostanie
	}
	public void update(GameContainer container, int delta) throws SlickException
	{	
		gameLogic.update(container, delta);
	}

}
